strs = "I Love Python So Much"
a=strs.find('Love',1,5)
print(a)
new_str="This is a Python book!"
b=new_str.count('is',2,7)
print("b=",b)

s="hello"
t="world"
s+=t
print(s,s[-1],s[2:5],s[::3],s[-2::-1])

print(strs.split(' ',3))
print('-'.join([new_str,strs]))

print(new_str.replace('is','IISS',1))
print(new_str)
print(new_str.strip('Tk!od'))

print(new_str.lower())

print(s.isalnum())

s="Python String"
print(s.upper(),s.lower(),s.find('i'),s.replace('ing','gni'))